﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Catalog
/// </summary>
public class Catalog
{
    private string name;
    private int idCatalog;
    private int parentID;
    private int operatorID;

    public int ParentID
    {
        get { return parentID; }
        set { parentID = value; }
    }
    public int OperatorID
    {
        get { return operatorID; }
        set { operatorID = value; }
    }
    public int IdCatalog
    {
        get { return idCatalog; }
        set { idCatalog = value; }
    }
    public string Name
    {
        get { return name; }
        set { name = value; }
    }
    private List<Catalog> childs;

    public List<Catalog> Childs
    {
        get { return childs; }
        set { childs = value; }
    }
	public Catalog()
	{
        childs = new List<Catalog>();
	}
}